﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebSetting.aspx.cs" Inherits="RichECMS.ServerPages.SysManage.WebSetting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="../../sysCommon/sysScripts/jquery.js" type="text/javascript"></script>
    <script src="../../sysCommon/sysScripts/parent1.js" type="text/javascript"></script>
    <script src="../../sysCommon/sysScripts/commompage.js" type="text/javascript"></script>
    <style type="text/css">
        *
        {
            font-size: 12px;
        }
        legend
        {
            color: Blue;
        }
        .SettingOne
        {
            margin: 10px 0px 10px 20px;;
        }
        .settitle
        {
            font-size: 12px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <fieldset>
            <legend>全局设置</legend>
            <div class="SettingOne">
                <span class="settitle">自定义路径：</span>
                <asp:RadioButton ID="RbtnCustomPathYes" runat="server" GroupName="CustiomPath" Text="启用"
                    Checked="false" />
                <asp:RadioButton ID="RbtnCustomPathNo" runat="server" GroupName="CustiomPath" Text="禁用"
                    Checked="true" />
            </div>
            <div class="SettingOne">
                <span class="settitle">启用短路径（隐藏default.htm）：</span>
                <asp:RadioButton ID="RbtnShortPathYes" runat="server" GroupName="ShortPath" Text="启用"
                    Checked="false" />
                <asp:RadioButton ID="RbtnShortPathNo" runat="server" GroupName="ShortPath" Text="禁用"
                    Checked="true" />
            </div>
            <div class="SettingOne" id="SectionIDDiv" runat="server" visible="false">
                <span class="settitle">文章页启用栏目标识：</span>
                <asp:RadioButton ID="RbtnCustiomPageNameYes" runat="server" GroupName="CustiomPageName"
                    Text="启用" Checked="false" />
                <asp:RadioButton ID="RbtnCustiomPageNameNo" runat="server" GroupName="CustiomPageName"
                    Text="禁用" Checked="true" />
            </div>
            <div class="SettingOne">
                <span class="settitle">编辑完成时自动生成详情页面：</span>
                <asp:RadioButton ID="RbtnAutoCreatePageYes" runat="server" GroupName="AutoCreatePage"
                    Text="启用" Checked="false" />
                <asp:RadioButton ID="RbtnAutoCreatePageNo" runat="server" GroupName="AutoCreatePage"
                    Text="禁用" Checked="true" />
            </div>
            <div class="SettingOne">
                <span class="settitle">栏目引用：</span>
                <asp:RadioButton ID="RbtnSectionRefYes" runat="server" GroupName="SectionRef" Text="启用"
                    Checked="false" />
                <asp:RadioButton ID="RbtnSectionRefNo" runat="server" GroupName="SectionRef" Text="禁用"
                    Checked="true" />
            </div>
            <div class="SettingOne">
                <span class="settitle">服务器端包含(Shtml)：</span>
                <asp:RadioButton ID="RbtnServerIncludeYes" runat="server" GroupName="ServerIncude"
                    Text="启用" Checked="false" OnCheckedChanged="IssueTypeChange" AutoPostBack="true" />
                <asp:RadioButton ID="RbtnServerIncludeNo" runat="server" GroupName="ServerIncude"
                    Text="禁用" Checked="true" OnCheckedChanged="IssueTypeChange"  AutoPostBack="true"/>
            </div>
            <div class="SettingOne" id="divIssueType" runat="server" visible="false">
                <span class="settitle">发布模式：</span>
                <asp:RadioButton ID="RbtnIssueTypeCommonYes" runat="server" GroupName="CommonIssue"
                    Text="启用" Checked="false"  />
                <asp:RadioButton ID="RbtnIssueTypeCommonNo" runat="server" GroupName="CommonIssue"
                    Text="禁用" Checked="true" />
                <div style="margin-top: 4px; color: Green;">
                    启用时:页面生成时会优先生成公共模版饭后在各个页面载入生成后的html片段，此模式下公共片段中不允许使用“当前”,会生成公共html片段
                    <br />
                    禁用时时:页面生成时会优先载入模版片段，但后整体生成当前页面，此模式下公共片段中的“当断”配置会生效，不会生成公共html片段</div>
            </div>
        </fieldset>
        <asp:Button ID="ButtonWebInit" runat="server" Text="确定" OnClick="BtnSave" />
    </div>
    </form>
</body>
</html>
